You might encounter a problem in which the values in the Initialization program and Termination program fields on the Request tab of the Logical Stored Process Server Properties dialog box are being overwritten. This problem occurs only if the audit, performance, and measurement (APM) extract, transform, load (ETL) process is enabled for SAS Environment Manager. In this scenario, the SAS Environment Manager agent overwrites the existing values and inserts the following values in the metadata for the logical stored process server:
Initialization program: SASEnvironment/SASMacro/apm_request_init.sas
Termination program: SASEnvironment/SASMacro/apm_request_term.sas
When you encounter this problem, the request initialization and request termination programs that you have specified stop running and the apm_request_init.sas and apm-request_term.sas programs run instead. To verify that this problem has occurred, you can search the Stored Process Server log file for a line similar to the following:
Executing SASEnvironment/SASMacro/apm_request_init.sas
You cannot fix this problem by manually modifying the file locations for the logical stored process server's request initialization and request termination programs. This strategy does not work because within several hours, the SAS Environment Manager agent again replaces your values with its own values as described above.
If you need to specify your own request initialization program file location, then you can add a %INCLUDE statement that includes your file location at the top of the apm_request_init.sas file. If you need to specify your own request termination program file location, then you can add a %INCLUDE statement that includes your file location at the top of the apm_request_term.sas file.
Note: Here are the physical paths for the files that are located on the SAS Stored Process Server machine:
SAS-configuration-directory/Lev1/SASApp/SASEnvironment/SASMacro/apm_request_init.sas
SAS-configuration-directory/Lev1/SASApp/SASEnvironment/SASMacro/apm_request_term.sas
Edit the apm_request_init.sas program and add a %INCLUDE statement for your custom request initialization file. Here is an example:
%include 'c:\mysasfiles\my_request_init.sas';
For related information about using relative versus absolute paths for the apm_request_init.sas and apm_request_term.sas files, see SAS Note 61325: "A SAS® Stored Process might fail with "STP_ERR: Requested Stored Process SASEnvironment/SASMacro/apm_request_init.sas does not exist...."
Operating System and Release Information
SAS System | SAS Integration Technologies | Solaris for x64 | 9.4 TS1M2 | 9.4 TS1M4 |
Linux for x64 | 9.4 TS1M2 | 9.4 TS1M4 |
Windows 7 Professional 32 bit | 9.4 TS1M2 | 9.4 TS1M4 |
Microsoft Windows 8.1 Pro x64 | 9.4 TS1M2 | 9.4 TS1M4 |
Microsoft Windows 8.1 Pro 32-bit | 9.4 TS1M2 | 9.4 TS1M4 |
Microsoft Windows 8.1 Enterprise x64 | 9.4 TS1M2 | 9.4 TS1M4 |
Microsoft Windows 8.1 Enterprise 32-bit | 9.4 TS1M2 | 9.4 TS1M4 |
Microsoft Windows 8 Pro x64 | 9.4 TS1M2 | 9.4 TS1M4 |
Microsoft Windows 8 Pro 32-bit | 9.4 TS1M2 | 9.4 TS1M4 |
HP-UX IPF | 9.4 TS1M2 | 9.4 TS1M4 |
64-bit Enabled Solaris | 9.4 TS1M2 | 9.4 TS1M4 |
64-bit Enabled AIX | 9.4 TS1M2 | 9.4 TS1M4 |
Windows 7 Ultimate x64 | 9.4 TS1M2 | 9.4 TS1M4 |
Windows 7 Ultimate 32 bit | 9.4 TS1M2 | 9.4 TS1M4 |
Windows 7 Professional x64 | 9.4 TS1M2 | 9.4 TS1M4 |
Windows 7 Home Premium x64 | 9.4 TS1M2 | 9.4 TS1M4 |
Windows 7 Home Premium 32 bit | 9.4 TS1M2 | 9.4 TS1M4 |
Windows 7 Enterprise x64 | 9.4 TS1M2 | 9.4 TS1M4 |
Windows 7 Enterprise 32 bit | 9.4 TS1M2 | 9.4 TS1M4 |
Microsoft Windows Server 2012 Std | 9.4 TS1M2 | 9.4 TS1M4 |
Microsoft Windows Server 2012 R2 Std | 9.4 TS1M2 | 9.4 TS1M4 |
Microsoft Windows Server 2012 R2 Datacenter | 9.4 TS1M2 | 9.4 TS1M4 |
Microsoft Windows Server 2012 Datacenter | 9.4 TS1M2 | 9.4 TS1M4 |
Microsoft Windows Server 2008 for x64 | 9.4 TS1M2 | 9.4 TS1M4 |
Microsoft Windows Server 2008 R2 | 9.4 TS1M2 | 9.4 TS1M4 |
Microsoft Windows Server 2008 | 9.4 TS1M2 | 9.4 TS1M4 |
Microsoft Windows 10 | 9.4 TS1M2 | 9.4 TS1M4 |
Microsoft Windows 8 Enterprise x64 | 9.4 TS1M2 | 9.4 TS1M4 |
Microsoft Windows 8 Enterprise 32-bit | 9.4 TS1M2 | 9.4 TS1M4 |
Microsoft® Windows® for x64 | 9.4 TS1M2 | 9.4 TS1M4 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.